package com.isunland.managesystem.entity;

public class RequisitionDetail {

  private String createBy;
  private String createtime;
  private String updatetime;
  private String updateBy;
  private String id;
  private Long orderNo;
  private String remark;
  private String regStaffId;
  private String regStaffName;
  private String regDate;
  private String memberCode;
  private String deptCode;
  private String deptName;
  private String holidayKindCode;
  private String overtimeReason;// 请假,加班
  private String outworkReason;// 外出
  private String btripReason;// 出差
  private String planSTime;
  private String planETime;
  private double panHolyNum;
  private String planHolyDays;
  private String planMonthNum;
  private String planDaysNum;
  private String actSTime;
  private String actETime;
  private double actHolyNum;
  private String actHolyDays;
  private String actMonthNum;
  private String actDaysNum;
  private String accessoryName;
  private String accessoryBlob;
  private String dataStatus;
  private String ifLaterWrite;
  private String ifCanOffset;
  private String ifUserCheck;
  private String panWorkNum;
  private String actWorkNum;
  private String overtimeType;
  private String naturalDays;
  private String ifDeduction;// "F",
  private String btripType;// "0",
  private String panOutNum;
  private String planOutDays;
  private String actOutNum;
  private String actOutDays;
  private String fromArea;
  private String toArea;

  public String getFromArea() {
    return fromArea;
  }

  public void setFromArea(String fromArea) {
    this.fromArea = fromArea;
  }

  public String getToArea() {
    return toArea;
  }

  public void setToArea(String toArea) {
    this.toArea = toArea;
  }

  public String getPanOutNum() {
    return panOutNum;
  }

  public void setPanOutNum(String panOutNum) {
    this.panOutNum = panOutNum;
  }

  public String getPlanOutDays() {
    return planOutDays;
  }

  public void setPlanOutDays(String planOutDays) {
    this.planOutDays = planOutDays;
  }

  public String getActOutNum() {
    return actOutNum;
  }

  public void setActOutNum(String actOutNum) {
    this.actOutNum = actOutNum;
  }

  public String getActOutDays() {
    return actOutDays;
  }

  public void setActOutDays(String actOutDays) {
    this.actOutDays = actOutDays;
  }

  public String getBtripType() {
    return btripType;
  }

  public void setBtripType(String btripType) {
    this.btripType = btripType;
  }

  public String getIfDeduction() {
    return ifDeduction;
  }

  public void setIfDeduction(String ifDeduction) {
    this.ifDeduction = ifDeduction;
  }

  public String getNaturalDays() {
    return naturalDays;
  }

  public void setNaturalDays(String naturalDays) {
    this.naturalDays = naturalDays;
  }

  public String getOvertimeType() {
    return overtimeType;
  }

  public void setOvertimeType(String overtimeType) {
    this.overtimeType = overtimeType;
  }

  public String getPanWorkNum() {
    return panWorkNum;
  }

  public void setPanWorkNum(String panWorkNum) {
    this.panWorkNum = panWorkNum;
  }

  public String getActWorkNum() {
    return actWorkNum;
  }

  public void setActWorkNum(String actWorkNum) {
    this.actWorkNum = actWorkNum;
  }

  public String getIfUserCheck() {
    return ifUserCheck;
  }

  public void setIfUserCheck(String ifUserCheck) {
    this.ifUserCheck = ifUserCheck;
  }

  private Long runId;

  /**
   * @return The createBy
   */
  public String getCreateBy() {
    return createBy;
  }

  /**
   * @param createBy The createBy
   */
  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }

  public String getBtripReason() {
    return btripReason;
  }

  public void setBtripReason(String btripReason) {
    this.btripReason = btripReason;
  }

  public String getOutworkReason() {
    return outworkReason;
  }

  public void setOutworkReason(String outworkReason) {
    this.outworkReason = outworkReason;
  }

  public void setActHolyNum(double actHolyNum) {
    this.actHolyNum = actHolyNum;
  }

  /**
   * @return The createtime
   */
  public String getCreatetime() {
    return createtime;
  }

  /**
   * @param createtime The createtime
   */
  public void setCreatetime(String createtime) {
    this.createtime = createtime;
  }

  /**
   * @return The updatetime
   */
  public String getUpdatetime() {
    return updatetime;
  }

  /**
   * @param updatetime The updatetime
   */
  public void setUpdatetime(String updatetime) {
    this.updatetime = updatetime;
  }

  /**
   * @return The updateBy
   */
  public Object getUpdateBy() {
    return updateBy;
  }

  /**
   * @param updateBy The updateBy
   */
  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

  /**
   * @return The id
   */
  public String getId() {
    return id;
  }

  /**
   * @param id The id
   */
  public void setId(String id) {
    this.id = id;
  }

  /**
   * @return The orderNo
   */
  public Long getOrderNo() {
    return orderNo;
  }

  /**
   * @param orderNo The orderNo
   */
  public void setOrderNo(Long orderNo) {
    this.orderNo = orderNo;
  }

  /**
   * @return The remark
   */
  public String getRemark() {
    return remark;
  }

  /**
   * @param remark The remark
   */
  public void setRemark(String remark) {
    this.remark = remark;
  }

  /**
   * @return The regStaffId
   */
  public String getRegStaffId() {
    return regStaffId;
  }

  /**
   * @param regStaffId The regStaffId
   */
  public void setRegStaffId(String regStaffId) {
    this.regStaffId = regStaffId;
  }

  /**
   * @return The regStaffName
   */
  public String getRegStaffName() {
    return regStaffName;
  }

  /**
   * @param regStaffName The regStaffName
   */
  public void setRegStaffName(String regStaffName) {
    this.regStaffName = regStaffName;
  }

  /**
   * @return The regDate
   */
  public String getRegDate() {
    return regDate;
  }

  /**
   * @param regDate The regDate
   */
  public void setRegDate(String regDate) {
    this.regDate = regDate;
  }

  /**
   * @return The memberCode
   */
  public String getMemberCode() {
    return memberCode;
  }

  /**
   * @param memberCode The memberCode
   */
  public void setMemberCode(String memberCode) {
    this.memberCode = memberCode;
  }

  /**
   * @return The deptCode
   */
  public String getDeptCode() {
    return deptCode;
  }

  /**
   * @param deptCode The deptCode
   */
  public void setDeptCode(String deptCode) {
    this.deptCode = deptCode;
  }

  /**
   * @return The deptName
   */
  public String getDeptName() {
    return deptName;
  }

  /**
   * @param deptName The deptName
   */
  public void setDeptName(String deptName) {
    this.deptName = deptName;
  }

  /**
   * @return The holidayKindCode
   */
  public String getHolidayKindCode() {
    return holidayKindCode;
  }

  /**
   * @param holidayKindCode The holidayKindCode
   */
  public void setHolidayKindCode(String holidayKindCode) {
    this.holidayKindCode = holidayKindCode;
  }

  /**
   * @return The overtimeReason
   */
  public String getOvertimeReason() {
    return overtimeReason;
  }

  /**
   * @param overtimeReason The overtimeReason
   */
  public void setOvertimeReason(String overtimeReason) {
    this.overtimeReason = overtimeReason;
  }

  /**
   * @return The planSTime
   */
  public String getPlanSTime() {
    return planSTime;
  }

  /**
   * @param planSTime The planSTime
   */
  public void setPlanSTime(String planSTime) {
    this.planSTime = planSTime;
  }

  /**
   * @return The planETime
   */
  public String getPlanETime() {
    return planETime;
  }

  /**
   * @param planETime The planETime
   */
  public void setPlanETime(String planETime) {
    this.planETime = planETime;
  }

  /**
   * @return The panHolyNum
   */
  public double getPanHolyNum() {
    return panHolyNum;
  }

  /**
   * @param panHolyNum The panHolyNum
   */
  public void setPanHolyNum(double panHolyNum) {
    this.panHolyNum = panHolyNum;
  }

  /**
   * @return The planHolyDays
   */
  public String getPlanHolyDays() {
    return planHolyDays;
  }

  /**
   * @param planHolyDays The planHolyDays
   */
  public void setPlanHolyDays(String planHolyDays) {
    this.planHolyDays = planHolyDays;
  }

  /**
   * @return The planMonthNum
   */
  public String getPlanMonthNum() {
    return planMonthNum;
  }

  /**
   * @param planMonthNum The planMonthNum
   */
  public void setPlanMonthNum(String planMonthNum) {
    this.planMonthNum = planMonthNum;
  }

  /**
   * @return The planDaysNum
   */
  public String getPlanDaysNum() {
    return planDaysNum;
  }

  /**
   * @param planDaysNum The planDaysNum
   */
  public void setPlanDaysNum(String planDaysNum) {
    this.planDaysNum = planDaysNum;
  }

  /**
   * @return The actSTime
   */
  public String getActSTime() {
    return actSTime;
  }

  /**
   * @param actSTime The actSTime
   */
  public void setActSTime(String actSTime) {
    this.actSTime = actSTime;
  }

  /**
   * @return The actETime
   */
  public String getActETime() {
    return actETime;
  }

  /**
   * @param actETime The actETime
   */
  public void setActETime(String actETime) {
    this.actETime = actETime;
  }

  /**
   * @return The actHolyNum
   */
  public double getActHolyNum() {
    return actHolyNum;
  }

  /**
   * @param actHolyNum The actHolyNum
   */
  public void setActHolyNum(Long actHolyNum) {
    this.actHolyNum = actHolyNum;
  }

  /**
   * @return The actHolyDays
   */
  public String getActHolyDays() {
    return actHolyDays;
  }

  /**
   * @param actHolyDays The actHolyDays
   */
  public void setActHolyDays(String actHolyDays) {
    this.actHolyDays = actHolyDays;
  }

  /**
   * @return The actMonthNum
   */
  public String getActMonthNum() {
    return actMonthNum;
  }

  /**
   * @param actMonthNum The actMonthNum
   */
  public void setActMonthNum(String actMonthNum) {
    this.actMonthNum = actMonthNum;
  }

  /**
   * @return The actDaysNum
   */
  public String getActDaysNum() {
    return actDaysNum;
  }

  /**
   * @param actDaysNum The actDaysNum
   */
  public void setActDaysNum(String actDaysNum) {
    this.actDaysNum = actDaysNum;
  }

  /**
   * @return The accessoryName
   */
  public String getAccessoryName() {
    return accessoryName;
  }

  /**
   * @param accessoryName The accessoryName
   */
  public void setAccessoryName(String accessoryName) {
    this.accessoryName = accessoryName;
  }

  /**
   * @return The accessoryBlob
   */
  public Object getAccessoryBlob() {
    return accessoryBlob;
  }

  /**
   * @param accessoryBlob The accessoryBlob
   */
  public void setAccessoryBlob(String accessoryBlob) {
    this.accessoryBlob = accessoryBlob;
  }

  /**
   * @return The dataStatus
   */
  public String getDataStatus() {
    return dataStatus;
  }

  /**
   * @param dataStatus The dataStatus
   */
  public void setDataStatus(String dataStatus) {
    this.dataStatus = dataStatus;
  }

  /**
   * @return The ifLaterWrite
   */
  //	public Object getIfLaterWrite() {
  //		return ifLaterWrite;
  //	}
  public String getIfLaterWrite() {
    return ifLaterWrite;
  }

  /**
   * @param ifLaterWrite The ifLaterWrite
   */
  public void setIfLaterWrite(String ifLaterWrite) {
    this.ifLaterWrite = ifLaterWrite;
  }

  /**
   * @return The ifCanOffset
   */
  public String getIfCanOffset() {
    return ifCanOffset;
  }

  /**
   * @param ifCanOffset The ifCanOffset
   */
  public void setIfCanOffset(String ifCanOffset) {
    this.ifCanOffset = ifCanOffset;
  }

  /**
   * @return The runId
   */
  public Long getRunId() {
    return runId;
  }

  /**
   * @param runId The runId
   */
  public void setRunId(Long runId) {
    this.runId = runId;
  }

  public String getDataStatusName() {
    if (null == dataStatus) {
      return "";
    }
    if (dataStatus.equalsIgnoreCase("new")) {
      return "草稿";
    }
    return "";
  }

  public boolean isFillInExtra() {
    if (overtimeType == null) {
      return false;
    }
    if (overtimeType.equalsIgnoreCase("0")) {
      return false;
    }
    if (overtimeType.equalsIgnoreCase("1")) {
      return true;
    }
    return false;
  }

  public boolean isIfLaterWrite() {
    if (ifLaterWrite == null) {
      return false;
    }
    if (ifLaterWrite.equalsIgnoreCase("F")) {
      return false;
    }
    if (ifLaterWrite.equalsIgnoreCase("T")) {
      return true;
    }
    return false;
  }

  public boolean isUserCheck() {
    if (ifUserCheck == null) {
      return false;
    }
    if (ifUserCheck.equalsIgnoreCase("F")) {
      return false;
    }
    if (ifUserCheck.equalsIgnoreCase("T")) {
      return true;
    }
    return false;
  }

  public boolean isBtripType() {
    if (btripType == null) {
      return false;
    }
    if (btripType.equalsIgnoreCase("0")) {
      return false;
    }
    if (btripType.equalsIgnoreCase("1")) {
      return true;
    }
    return false;
  }
}
